how to protect your portfolio in a bear market